 package com.lj.mcore.entity;

 import com.lj.mcore.domain.IdEntity;
 import jakarta.persistence.*;

 import java.math.BigDecimal;

 @Entity
 @Table(name="shopping_activity_goods")
 public class ActivityGoods extends IdEntity
 {
 
   @ManyToOne(fetch= FetchType.LAZY)
   private Goods ag_goods;
   private int ag_status;
 
   @ManyToOne(fetch=FetchType.LAZY)
   private User ag_admin;
 
   @ManyToOne(fetch=FetchType.LAZY)
   private Activity act;
 
   @Column(precision=12, scale=2)
   private BigDecimal ag_price;



 }



 
 